<include file="Public/head" />
<div class="ad-banner"><p style="background-image:url(/Public/Home/default/images//index/ad.jpg);"></p></div>
<div id="wrapper">
  <div class="article">
    <div class="article-nav">
      <div class="an-box">
        <ul>
        <volist name="problem" id="vo">
          	<li <if condition="$id eq $vo['article_id']"> class="on"</if>><a href="{:U('Index/problem',array('id'=>$vo['article_id']))}">{$vo.article_title}</a></li>
        </volist>
        </ul>
      </div>
    </div>
    <div class="article-main">
      <div class="am-box">
        <div class="tit">{$detail.article_title}</div>
        <div class="cont">
				{$detail.article_content}	
        </div>
      </div>
    </div>
  </div>
</div><!--wrapper end-->
<script>
$(function(){
$("#btn").click(function(){
var name=$("#username").val();
var password=$("#password").val();
$.post('/index.php/Login/dologin',{name:name,pwd:password},function(e){
if(e.result==1){
//window.location.href='/index.php/Member/index';
window.location.href='<?php echo U('Home/Login/agreement')?>';
}else{
alert(e.message);
}
},'json')

})
})
</script>

<include file="Public/foot" />